<%@ include file="/common/header.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<style>
    body {
        overflow: auto;
    }
    .form-control[disabled], fieldset[disabled] .form-control {
        cursor: pointer;
    }
</style>
<body ng-init="XH='${XH}';AutoViewPage=true;">
<div ng-controller="mbDetailController">
    <div>
        <div>
            <form id="myForm" name="validateForm">
                <div>
                    <div style="margin: 12px 35px;">
                        <input type="text" ng-model="mbInfo.BT"
                               ng-disabled="AutoViewPage"
                               class="form-control easyui-validatebox"
                               data-options="validType:'length[1,50]',required:true,tipPosition:'bottom'"
                               placeholder="请输入模板名称">
                    </div>
                    <div style="margin-bottom: 15px;">
                        <span style="float: left;margin-top:8px;margin-left: 45px;">模板类型：</span>
                        <div style="float: left;">
                            <codeset dmjbh="FWSZPT_GZBG_MBGL_MBLX" ng-model="mbInfo.MBLX" ng-validate="true"
                                    ng-disabled="AutoViewPage" ng-type="radio"></codeset>
                        </div>
                    </div>
                    <div ng-repeat="item in mbzdList" style="margin: 45px 25px;">
                        <div style="margin-bottom: 15px;margin-left: 8px;">
                            <td>{{item.ZDMC}}</td>
                        </div>
                        <div>
                            <td>{{item.ZDTS}}</td>
                        </div>
                        <div  style="margin-top: 15px;">
                            <textarea elastic style="max-height: 100%;min-height: 255px;resize: none; border: 1px solid #CCC;"
                                      ng-model="item.ZDMB" name="cs_tznr"
                                      ng-disabled="AutoViewPage"
                                      class="form-control easyui-validatebox" placeholder="请填写处理意见"
                                      data-options="validType:'length[1,200]',required:true,tipPosition:'bottom'"></textarea>
                        </div>
                        <div ng-hide="item.SFQYFJ==0">
                            <div ng-if="!uploadChanging" upload-file-list
                                 style="margin: 8px 25px;"
                                 ng-config="uploadConfig"
                                 ng-uploader="uploaderContainer.uploader"
                                 class="uplod-file-container"></div>
                        </div>
                    </div>
                </div>


            </form>
        </div>
    </div>
</div>
<script type="text/javascript"
        src="<common:webRoot/>/resources/fwszpt/gzbg/mb/js/MbDetail.js?v=${sysversion}"></script>
</body>
<%@ include file="/common/footer.jsp" %>
